<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="/lib/bootstrap-3.3.7-dist/css/bootstrap.css">
    <link rel="stylesheet" href="/lib/swiper-5.4.5/swiper.css">
    <link rel="stylesheet" href="/css/详情页.css">
    <title>Document</title>
</head>

<body>
    <!-- 头部head部分 -->
    <header>

    </header>
    <!---- 会员登入 ---->
    <div id="site_path" class="container">
        <nav class="nav2">
            <div class="nav2_lf">
                <span class="glyphicon glyphicon-home"></span>
                <span>></span>
                <a>
                    <span>30ml噴式香水,食物氣味30ml,新品上市,首頁商品</span>
                </a>
            </div>

            <span class="nav2_rt">
                <a>
                    > 氣味圖書館 Demeter <br>【煉乳】 Condensed Milk 香水30ml
                </a>
            </span>
        </nav>
    </div>
    <hr size="1" color="#E2E2E2" style="margin: 0;">

    <!--     商品信息     -->
    <div class="container product_infomation">


    </div>

    <script type="text/html" id="prodDetailTemplate">
        <div class="product_info">
            <div class="product_photos">
                    <!-- 放大镜 -->
                    <div class="zoom">
                        <img src="{{photo[0].url}}" class="zoom-image">
                    </div>
                <!-- 轮播图下面的导航图 -->
                <div id="thumb">
                    <ul id="thumbslist">
                        {{each photo item}}
                            <li>
                                <a href="#" data-image="{{item.url}}" data-zoom-image="{{item.url}}">
                                    <img src="{{item.url}}">
                                </a>
                            </li>
                        {{/each}}
                    </ul>
                </div>
            </div>

            <!-- 产品内容 -->
            <div id="product_content">
                
                <h1>
                    {{title}}
                </h1>
                <!-- 简述 -->
                <div class="product_brief">
                吃過牛奶糖嗎？在中國，也許「大白兔牛奶糖」是大部分內地人童年的回憶，但在台灣我們也有「森永牛奶糖」陪伴我們長大!  其實她就是牛奶與砂糖的結合，而Demeter 美國調香師用煉乳來演繹她。這獨特的氣味令長大的我們懷念、更讓小孩們無法拒絕。
                </div>
                <!-- 厂商，标语 -->
                <div class="product_vendor_slogan">
                    <span>Demeter</span>
                    <span>牛奶糖般的氣味</span>
                </div>
                <!-- 商品售卖 -->
                <div class="product_price">
                    <span>折扣下殺</span>
                    <span class="price">{{price}}</span>
                    <del>NT$1100</del>
                </div>
                <!-- 商品编号 -->
                <p class="product_sku">
                    商品編號:&nbsp;{{id}}
                </p>
                <hr size="1px" color="#E2E2E2">
                <p class="product_sku">
                    供貨狀況:&nbsp;尚有庫存 {{saleNum}}
                </p>
                <!-- 商品添加按钮 -->
                <div class="product_variant_quantity">
                    <span class="product_variant"> - ${{price}}</span>
                    <span class="product_quantity">
                        <button class="add-down">-</button>
                        <input type="text" class="txt-amount" value="1">
                        <button class="add-up">+</button>
                    </span>
                </div>
                <!-- 加入购物车，立即购买按钮 -->
                <div class="product_button">
                    <div class="product_btn1">
                        <button type="button" class="btn btn-primary add-basket">
                            <span class="glyphicon glyphicon-shopping-cart"></span>
                            加入購物車
                        </button>
                    </div>
                    <div class="product_btn2">
                        <button type="button" class="btn btn-primary">
                            <span class="glyphicon glyphicon-shopping-cart"></span>
                            立即購買
                        </button>
                    </div>
                </div>
                <!-- 加入最爱，红利折扣 -->
                <div class="product_others">
                    <span class="product_love">
                        <a>❤加入最愛</a>
                    </span>
                    <span class="product_bonus">
                        此商品可以折抵紅利
                        <span class="val">80</span>
                        點
                    </span>
                </div>
            </div>
        </div>
        <!-- 商品介绍，购物流程 -->
        <div class="desc_sections">
            <ul>
                <li>商品介紹</li>
                <li>購物流程</li>
                <li>付款與配送需知</li>
            </ul>
        </div>

        <!--     商品内容大盒子     -->
        <div id="ckeditor">
            <!-- 商品介绍 -->
            <div id="desc_section_1">
                <h5>商品介紹</h5>
                <img src="/images/详情页商品介绍1-730.jpg">
                <p>
                    <strong>品名：</strong> Condensed Milk煉乳 &nbsp; 情境香水 <br>
                    <strong>規格：</strong> 30ml 古龍水<br>
                    <strong>成份：</strong> 香精、玉米酒精、蒸餾水（香水95％使用天然成份）<br>
                    <strong>嗅點：</strong> <br>
                </p>
                <p>
                    吃過牛奶糖嗎？這款煉乳其實就是我們熟悉的牛奶糖氣味，是牛奶與砂糖的結合，而Demeter 美國調香師用煉乳來演繹她。在中國也許「大白兔奶糖」是內地人童年的回憶，但在台灣我們也有「森永牛奶糖」陪伴我們長大喔! 
                </p>
                <p>
                    不知道噴在身上妳/你會不會喜歡? 但是妳可以試試在書本、手帕、口罩、或絲巾上穿戴她，可能會與我們一樣不自覺的微笑。這獨特氣味會讓長大的我們懷念、更讓孩子們無法拒絕。
                </p>
                <!--     三张大图片     -->
                {{each descContentList item}}
                <img src="{{item.image.url}}">
                {{/each}}
            </div>
            <!--    购物流程    -->
            <div id="desc_section_2">
                <h5>購物流程</h5>
            </div>
            <!--     付款與配送需知     -->
            <div id="desc_section_3">
                <h5>付款與配送需知</h5>
                <p>1、宅配配送：使用物流服務配送商品（香水限台灣本島地區）</p>
                <p>2、超商取貨：店到店</p>
            </div>
        </div>
        <!--   底部轮播图   -->
        <div id="related-products">
            <h5>相關商品</h5>
            <div class="swiper-container swiper-container2">
                <div class="swiper-wrapper">
                    <!-- 畅销新品轮播图小框1 -->
                    <div class="swiper-slide">
                        <div class="product_image">
                            <img src="/images/04.jpeg">
                        </div>
                        <div class="product_title">
                            氣味圖書館 Demeter <br>
                            【煉乳】 Condensed Milk 香水30ml
                        </div>
                        <div class="product_price">
                            <span class="price">NT$880</span>
                        </div>
                        <div class="product_btn">
                            <button type="button" class="btn btn-primary">
                                <span class="glyphicon glyphicon-shopping-cart"></span>
                                加入購物車
                            </button>
                        </div>
                    </div>
                    <!-- 畅销新品轮播图小框2 -->
                    <div class="swiper-slide">
                        <div class="product_image">
                            <img src="/images/05.jpeg">
                        </div>
                        <div class="product_title">
                            氣味圖書館 Demeter <br>
                            【煉乳】 Condensed Milk 香水30ml
                        </div>
                        <div class="product_price">
                            <span class="price">NT$880</span>
                        </div>
                        <div class="product_btn">
                            <button type="button" class="btn btn-primary">
                                <span class="glyphicon glyphicon-shopping-cart"></span>
                                加入購物車
                            </button>
                        </div>
                    </div>
                    <!-- 畅销新品轮播图小框3 -->
                    <div class="swiper-slide">
                        <div class="product_image">
                            <img src="/images/06.jpeg">
                        </div>
                        <div class="product_title">
                            氣味圖書館 Demeter <br>
                            【煉乳】 Condensed Milk 香水30ml
                        </div>
                        <div class="product_price">
                            <span class="price">NT$880</span>
                        </div>
                        <div class="product_btn">
                            <button type="button" class="btn btn-primary">
                                <span class="glyphicon glyphicon-shopping-cart"></span>
                                加入購物車
                            </button>
                        </div>
                    </div>
                    <!-- 畅销新品轮播图小框4 -->
                    <div class="swiper-slide">
                        <div class="product_image">
                            <img src="/images/07.jpeg">
                        </div>
                        <div class="product_title">
                            氣味圖書館 Demeter <br>
                            【煉乳】 Condensed Milk 香水30ml
                        </div>
                        <div class="product_price">
                            <span class="price">NT$880</span>
                        </div>
                        <div class="product_btn">
                            <button type="button" class="btn btn-primary">
                                <span class="glyphicon glyphicon-shopping-cart"></span>
                                加入購物車
                            </button>
                        </div>
                    </div>
                    <!-- 畅销新品轮播图小框5 -->
                    <div class="swiper-slide">
                        <div class="product_image">
                            <img src="/images/04.jpeg">
                        </div>
                        <div class="product_title">
                            氣味圖書館 Demeter <br>
                            【煉乳】 Condensed Milk 香水30ml
                        </div>
                        <div class="product_price">
                            <span class="price">NT$880</span>
                        </div>
                        <div class="product_btn">
                            <button type="button" class="btn btn-primary">
                                <span class="glyphicon glyphicon-shopping-cart"></span>
                                加入購物車
                            </button>
                        </div>
                    </div>
                </div>
                <!-- 如果需要导航按钮 -->
                <div class="swiper-button-prev"></div>
                <div class="swiper-button-next"></div>
            </div>
        </div>

    </script>


    <!-- 底部 -->
    <footer>

    </footer>


    <div class="tip">
        加入成功
    </div>


    <script src="/lib/require/require.js" data-main='/js/detail'></script>


    <!--   头部吸顶效果   -->
    <!-- <script>
        var nav = document.querySelector('.nav')
        console.log(nav)
        window.onscroll = function () {
            var scrollTop = document.documentElement.scrollTop || document.body.scrollTop
            if (scrollTop >= 15) {
                // console.log(123)
                nav.className = 'nav fx'
            } else {
                nav.className = 'nav'
            }
        }
    </script> -->

    <!-- 大轮播图js -->
    <!-- <script src="/lib/swiper-5.4.5/swiper.js"></script>
    <script>
        var mySwiper = new Swiper('.swiper-container1', {
            direction: 'horizontal', // 水平切换选项
            loop: true, // 循环模式选项
            // 如果需要分页器
            // pagination: {
            //     el: '.swiper-pagination',
            // },
            // 如果需要前进后退按钮
            navigation: {
                nextEl: '.swiper-button-next',
                prevEl: '.swiper-button-prev',
            },
            // 自动轮播
            // autoplay: true,
        })        
    </script> -->

    <!-- 畅销新品轮播图js -->
    <!-- <script>
        var swiper = new Swiper('.swiper-container2', {
            slidesPerView: 4,
            //   slide之间的距离
            //   spaceBetween: 30,
            //   pagination: {
            //     el: '.swiper-pagination2',
            //     clickable: true,
            //   },
            // 如果需要前进后退按钮
            navigation: {
                nextEl: '.swiper-button-next',
                prevEl: '.swiper-button-prev',
            },
        });
    </script> -->

</body>

</html>